package com.example.demo122.demos;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@Component
@ConfigurationProperties(prefix = "getfriend")
@Data
public class Friend {
    List<String> name;
    Map<String,String> map;
}
